#include "qmemerydataplugin.h"

#include "qmemerydatawidget.h"

#include <qplugin.h>
#include <QIcon>
#include <QVariant>

QString QMemeryDataPlugin::pluginName()
{
    return "MemeryData.Plugin";
}

void QMemeryDataPlugin::createWidget()
{
    m_widget=new QMemeryDataWidget;
    m_widget->setProperty("panelwidget",true);
}

QString QMemeryDataPlugin::getPageName()
{
    return tr("Memery");
}

QIcon QMemeryDataPlugin::getPageIcon()
{
    return QIcon(":/images/memery.png");
}

int QMemeryDataPlugin::getIndex()
{
    return 5;
}

bool QMemeryDataPlugin::getEnabled()
{
    return true;
}

Q_EXPORT_PLUGIN2(QMemeryDataPlugin,QMemeryDataPlugin)
